package com.test.service.impl;

import com.test.mapper.OrderDetailMapper;
import com.test.pojo.OrderDetail;
import com.test.service.OrderDetailService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class OrderDetailServiceImpl implements OrderDetailService {
    @Resource
    private OrderDetailMapper orderDetailMapper;
    @Override
    public List<OrderDetail> getAllOrderDetail() {
        return orderDetailMapper.getAllOrderDetail();
    }
}
